package com.blb.common.entity;

import com.blb.common.utils.DBField;

/**
 * @author lvtian
 * @date 2022/12/27 9:57
 */
public class QuestionSet {
    private Integer id;
    private String title;
    private String description;
    @DBField(fieldName = "subject_id")
    private Integer subjectId;
    private Integer point;
    private Integer time;

    public QuestionSet(Integer id, String title, String description, Integer subjectId, Integer point, Integer time) {
        this.id = id;
        this.title = title;
        this.description = description;
        this.subjectId = subjectId;
        this.point = point;
        this.time = time;
    }

    public QuestionSet() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "QuestionSet{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", subjectId=" + subjectId +
                ", point=" + point +
                ", time=" + time +
                '}';
    }
}
